package wan.com.templateproject.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.extern.slf4j.Slf4j;

/**
 * @author wan
 * @version 1.0.0
 * @Description people实体
 * @createTime 2021年08月17日 14:03:44
 */
@Data
@Slf4j
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class People {

    @ApiModelProperty("people表主键")
    private Integer id;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("年龄")
    private int age;

    @ApiModelProperty("性别")
    private int gender;

    @ApiModelProperty("职业")
    private String profession;

    @ApiModelProperty("身份编号")
    private String identityNum;

    @ApiModelProperty("个人介绍")
    private String desc;

    public People(String name, int age, int gender) {
        this.name = name;
        this.age = age;
        this.gender = gender;
    }

}
